import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'


// 引入fastclick
import FastClick from 'fastclick'
if ('addEventListener' in document) {
    document.addEventListener('DOMContentLoaded', function () {
        FastClick.attach(document.body);
    }, false);
}

//引入全部样式
import './style/common.less'

// 引入全局UI vant 组件库
import './plugins/vant'

//引入全局bootstrap 组件
import './plugins/bootstrap/css/bootstrap.min.css'

// 引入rem
import './config/rem'

// 引入全局过滤器
import './config/filters'


new Vue({
    router,
    store,

    render: h => h(App)
}).$mount('#app')
